package com.itheima.reggie.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 菜品
 */
@Data
@ApiModel("菜品")
public class Dish implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("主键")
    private Long id;
    @ApiModelProperty("菜品名称")
    private String name;//菜品名称
    @ApiModelProperty("菜品分类id")
    private Long categoryId;//菜品分类id
    @ApiModelProperty("菜品价格")
    private BigDecimal price;//菜品价格
    @ApiModelProperty("商品码")
    private String code;//商品码
    @ApiModelProperty("图片")
    private String image;//图片
    @ApiModelProperty("描述信息")
    private String description;//描述信息
    @ApiModelProperty("状态码0 停售 1 起售")
    private Integer status;//0 停售 1 起售
    @ApiModelProperty("顺序")
    private Integer sort;//顺序
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
    @ApiModelProperty("修改时间")
    private LocalDateTime updateTime;
    @ApiModelProperty("创建人")
    private Long createUser;
    @ApiModelProperty("修改人")
    private Long updateUser;
}